package com.xbongbong.pro.performance.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.saas.constant.BasicConstant;
import com.xbongbong.saas.constant.PageConstant;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @ClassName PerformanceChartListDTO
 * @Description 目标管理列表
 * @Author mengna.Deng
 * @Date 2022/3/10 15:22
 * @Version 1.0
 */
@Getter
@Setter
@ToString
public class PerformanceChartListDTO extends BaseDTO {
    /**
     * 系统目标为1，自定义目标为2
     */
    private Integer statisticsType;
    /**
     * 页码，固定数值类型无需该值
     */
    private Integer page;
    /**
     * 每页数量，固定数值类型无需该值
     */
    private Integer pageSize;
    /**
     * 从详情页那里请求的
     */
    private Integer fromDetail;
    /**
     * app端参数：对象类型，1是员工，2是部门
     */
    private Integer companyStructType;
    /**
     * app端参数：员工ID
     */
    private String checkedUserId;
    /**
     * app端参数：部门id
     */
    private String checkedDepId;

    PerformanceChartListDTO(){
        this.page = PageConstant.DEFAULT_INDEX_PAGE;
        this.pageSize = PageConstant.DEFAULT_PAGE_SIZE;
    }
}
